package com.cusc.lib_api.config;

import com.cusc.lib_api.BuildConfig;

/**
 * Description: <API><br>
 * Author:      mxdl<br>
 * Date:        2019/6/23<br>
 * Version:     V1.0.0<br>
 * Update:     <br>
 */
public class API {


  public static String URL_HOST_USER = "";
  public static String IP_PORT = "";

  static{
        switch (BuildConfig.Environment){
            case 1://演示环境
                IP_PORT = "106.74.154.90:9260";
                URL_HOST_USER = String.format("http://%s/",IP_PORT);
                break;
            case 2://内测环境

                break;
            case 3://开发环境
                break;
            case 4://正式环境

                break;
        }
    }

    /*调度状态 字典:VD_DISPATCH_STATUS 0:未调度 1:调度中 2:已调度 4:调度驳回*/
    public static final String Dispatch_Status = "VD_DISPATCH_STATUS";

    /*申请状态数组 字典:VD_APPLY_STATUS 0:未提交 1:提交失败 5:审批中 9:已驳回 10:已撤销 11:审批通过 15:已作废*/
    public static final String Apply_Status = "VD_APPLY_STATUS";
}
